id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Athenian: Stringsstrings_times5

prev  |  next  |  chance

Function multiplies each string by 5.
by Anay '24

def times_5(x):
    return x * 5
Function Call  Return Value
times_5('hello')
times_5('world')
times_5('apples')
times_5('')
times_5(' ')
times_5('a')
times_5('*')

Experiment with this code on Gitpod.io

⬅ Back